CalMonth()

General System Function

Syntax samples

CALMONTH()

Description

The CALMONTH() function corresponds to the month of the year you defined as part of the warm-up period or simulation begin date under simulation options. Values returned by this function will be integers in the range of 1 to 12.

Valid In

Any logic.

Please note

CALMONTH() works only when you select calendar date in the simulation options dialog.

Example

If CalMonth()=12 THEN WAIT 20

Else Wait 10

See Also

CALDAY(), CALDOM(), CALHOUR(), CALMIN(), and CALYEAR().